gdk-pixbuf-xlib.h use G_BEGIN/END_DECLS.
authorMichael Natterer <mitch@imendio.com>
Mon, 26 May 2008 15:14:41 +0000 (15:14 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Mon, 26 May 2008 15:14:41 +0000 (15:14 +0000)
2008-05-26  Michael Natterer  <mitch@imendio.com>

* gdk-pixbuf-xlib.h
* gdk-pixbuf-xlibrgb.h: use G_BEGIN/END_DECLS.

svn path=/trunk/; revision=20180

contrib/gdk-pixbuf-xlib/ChangeLog
contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h
contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h

index 669089cbd6a58ac2c0290d90e009366ed1bdf4a8..ee5b585d831f5585f3f2496b83518bc90194b868 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-26  Michael Natterer  <mitch@imendio.com>
+
+       * gdk-pixbuf-xlib.h
+       * gdk-pixbuf-xlibrgb.h: use G_BEGIN/END_DECLS.
+
 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.13.0 ===
index 04f573e7d4ee6cb5275d05428d2121970540c65e..4ffc56039f7fb1e67e1e9b073f25ccc7e82219ad 100644 (file)
 #ifndef GDK_PIXBUF_XLIB_H
 #define GDK_PIXBUF_XLIB_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include <gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h>
+
+G_BEGIN_DECLS
+
 #include <X11/Xlib.h>
 
 \f
@@ -83,9 +82,6 @@ GdkPixbuf *gdk_pixbuf_xlib_get_from_drawable (GdkPixbuf *dest,
                                              int dest_x, int dest_y,
                                              int width, int height);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
 
 #endif /* GDK_PIXBUF_XLIB_H */
index c94e746ff22db150ef13b363288227045f7d5600..9433aeaccf50b89c0c326fbecdd43c1a455a0c4c 100644 (file)
 #ifndef __XLIB_RGB_H__
 #define __XLIB_RGB_H__
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+#include <glib.h>
+
+G_BEGIN_DECLS
 
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 
-#include <glib.h>
-
 typedef struct _XlibRgbCmap XlibRgbCmap;
 
 struct _XlibRgbCmap {
@@ -185,9 +183,6 @@ xlib_rgb_get_display (void);
 Screen *
 xlib_rgb_get_screen (void);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
 
 #endif /* __XLIB_RGB_H__ */